package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 表单分组对象 form_groups
 *
 * @author ruoyi
 * @date 2024-03-27
 */
public class FormGroups extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long groupId;

    /** 组名 */
    @Excel(name = "组名")
    private String groupName;

    /** 排序 */
    private String sortNum;

    /** 删除标志（0删除 1存在） */
    private String delFlag;

    /** 审批模板对象 */
    private List<ProcessTemplates> processTemplates;

    public void setGroupId(Long groupId)
    {
        this.groupId = groupId;
    }

    public Long getGroupId()
    {
        return groupId;
    }
    public void setGroupName(String groupName)
    {
        this.groupName = groupName;
    }

    public String getGroupName()
    {
        return groupName;
    }
    public void setSortNum(String sortNum)
    {
        this.sortNum = sortNum;
    }

    public String getSortNum()
    {
        return sortNum;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public List<ProcessTemplates> getProcessTemplates() {
        return processTemplates;
    }

    public void setProcessTemplates(List<ProcessTemplates> processTemplates) {
        this.processTemplates = processTemplates;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("groupId", getGroupId())
            .append("groupName", getGroupName())
            .append("sortNum", getSortNum())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
